import request from "@/utils/request";

//待管理数据库列表
export function fetchList(params) {
  return request({
    url: "/nmap/record/list",
    method: "get",
    params,
  });
}

//加入/移除黑名单
export function blacklist(data) {
  return request({
    url: "/nmap/record/blackList",
    method: "post",
    data,
  });
}
